package com.ruoyi.uav.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 地面障碍物对象 uav_ground_obstacle
 *
 * @author ruoyi
 * @date 2024-05-06
 */
@Data
@ApiModel(value = "地面障碍物对象", description = "地面障碍物对象")
public class UavGroundObstacle extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    @TableId(value = "id" , type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 数据ID */
    @ApiModelProperty("数据ID")
    @Excel(name = "数据ID")
    private String generateId;

    /** 想定表id */
    @ApiModelProperty("想定表id")
    @Excel(name = "想定表id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long trainingProposeId;

    /** 模型类型 */
    @ApiModelProperty("模型类型")
    @Excel(name = "模型类型")
    private String model;

    /** x轴 */
    @JsonProperty("xAxis")
    @ApiModelProperty("x轴")
    @Excel(name = "x轴")
    private String xAxis;

    /** y轴 */
    @JsonProperty("yAxis")
    @ApiModelProperty("y轴")
    @Excel(name = "y轴")
    private String yAxis;

    /** z轴 */
    @JsonProperty("zAxis")
    @ApiModelProperty("z轴")
    @Excel(name = "z轴")
    private String zAxis;

    /** 俯仰 */
    @ApiModelProperty("俯仰")
    @Excel(name = "俯仰")
    private String pitch;

    /** 滚转 */
    @ApiModelProperty("滚转")
    @Excel(name = "滚转")
    private String roll;

    /** 偏航 */
    @ApiModelProperty("偏航")
    @Excel(name = "偏航")
    private String yaw;


}
